Micron Document
🎖️GitЯра🎖️

Commit 20b64d4d99cb5e7d29df7c8c031f594e454d85e9


Parents : 5dd9d57
Author : James Rich <2199651+jamesarich@users.noreply.github.com>
Signature : Signature validation error
Date : 2026-06-18T20:48:32-05:00
Committer : GitHub <noreply@github.com>
Date : 2026-06-19T01:48:32Z

fix(settings): gate Traffic Management config at firmware v2.8.0 (#5864)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

Changes
Diff

diff --git a/core/model/src/commonMain/kotlin/org/meshtastic/core/model/Capabilities.kt b/core/model/src/commonMain/kotlin/org/meshtastic/core/model/Capabilities.kt
index 724bdfdd23..56d74b0465 100644
--- a/core/model/src/commonMain/kotlin/org/meshtastic/core/model/Capabilities.kt
+++ b/core/model/src/commonMain/kotlin/org/meshtastic/core/model/Capabilities.kt
@@ -52,8 +52,8 @@ data class Capabilities(val firmwareVersion: String?, internal val forceEnableAl
/** Support for Status Message module. Supported since firmware v2.8.0. */
val supportsStatusMessage = atLeast(V2_8_0)
- /** Support for Traffic Management module. Supported since firmware v3.0.0. */
- val supportsTrafficManagementConfig = atLeast(V3_0_0)
+ /** Support for Traffic Management module. Supported since firmware v2.8.0. */
+ val supportsTrafficManagementConfig = atLeast(V2_8_0)
/** Support for TAK (ATAK) module configuration. Supported since firmware v2.7.19. */
val supportsTakConfig = atLeast(V2_7_19)
@@ -79,7 +79,6 @@ data class Capabilities(val firmwareVersion: String?, internal val forceEnableAl
private val V2_7_18 = DeviceVersion("2.7.18")
private val V2_7_19 = DeviceVersion("2.7.19")
private val V2_8_0 = DeviceVersion("2.8.0")
- private val V3_0_0 = DeviceVersion("3.0.0")
private val UNRELEASED = DeviceVersion("9.9.9")
}
}

diff --git a/core/model/src/commonTest/kotlin/org/meshtastic/core/model/CapabilitiesTest.kt b/core/model/src/commonTest/kotlin/org/meshtastic/core/model/CapabilitiesTest.kt
index b8a80b7044..2471d8964d 100644
--- a/core/model/src/commonTest/kotlin/org/meshtastic/core/model/CapabilitiesTest.kt
+++ b/core/model/src/commonTest/kotlin/org/meshtastic/core/model/CapabilitiesTest.kt
@@ -74,9 +74,9 @@ class CapabilitiesTest {
}
@Test
- fun supportsTrafficManagementConfig_requires_V3_0_0() {
- assertFalse(caps("2.7.18").supportsTrafficManagementConfig)
- assertTrue(caps("3.0.0").supportsTrafficManagementConfig)
+ fun supportsTrafficManagementConfig_requires_V2_8_0() {
+ assertFalse(caps("2.7.21").supportsTrafficManagementConfig)
+ assertTrue(caps("2.8.0").supportsTrafficManagementConfig)
}
@Test

Served by rngit 1.4.2 - Generated in 0.12s